package concurrency.tij;

public class MainThread {

	/**
	 * @param args
	 * @throws InterruptedException 
	 */
	public static void main(String[] args) throws InterruptedException {
		LiftOff liftOff = new LiftOff();
		liftOff.run();
		
		LiftOff liftOff1 = new LiftOff();
		LiftOff liftOff2 = new LiftOff();
		
		Thread thread1 = new Thread(liftOff1);
		Thread thread2 = new Thread(liftOff2);
		
		thread1.start();
		thread2.start();
		
//		Thread.currentThread().sleep(5 * 1000);
	}

}
